using Microsoft.Xna.Framework.Graphics;

namespace Xnatlas
{
    public class Texture2DTextureWrapper : ITextureWrapper
    {
        public Texture2DTextureWrapper(Texture2D texture, string data)
        {
            Texture = texture;
            Data = data;
        }

        public Texture2D Texture { get; set; }

        public int Width { get { return Texture.Width; } }
        public int Height { get { return Texture.Height; } }
        public string Data { get; set; }
    }
}